home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_PowerData.IconX 38.200 (27.7.93)
- ;
- ; Install script for PowerData (standard shell script)
- ;
-
- FailAt 20
-
- Echo "PowerData installation script for use with IconX"
- Echo "Copyright © 1992, 1993 by Michael Berg"
- Echo "All Rights Reserved"
- Echo ""
-
- Echo "Installing libraries:"
-
- Echo " reqtools.library"
- Version > NIL: reqtools.library 37
- If NOT WARN
- Echo " You already have: " NOLINE
- Version reqtools.library
- Echo "" NOLINE
- Ask " Do you want to install version 38.1042 of reqtools.library?"
- If WARN
- Echo " Copying reqtools.library to your LIBS: ..."
- Copy >NIL: /libs/reqtools.library LIBS:
- Else
- Echo " Skipped"
- EndIf
- EndIf
-
- Echo " powerpacker.library"
- Version > NIL: powerpacker.library 35
- If NOT WARN
- Echo " You already have: " NOLINE
- Version powerpacker.library
- Echo "" NOLINE
- Ask " Do you want to install version 35.344 of powerpacker.library?"
- If WARN
- Echo " Copying powerpacker.library to your LIBS: ..."
- Copy >NIL: /libs/powerpacker.library LIBS:
- Else
- Echo " Skipped"
- EndIf
- EndIf
-
- Avail >NIL: FLUSH
-
- Echo ""
-
- If EXISTS Locale:Catalogs
- Ask "Do you wish to install the PowerData catalog files? [y/n]: "
- If WARN
- Copy >NIL: Locale Locale: All
- Echo "Catalogs installed"
- EndIf
- Else
- Echo "Catalog files not installed -- no Locale directory found"
- EndIf
-
- If EXISTS SYS:Tools/Commodities
- SetEnv TargetDir Sys:Tools/Commodities
- Else
- SetEnv TargetDir Sys:
- Endif
-
- Echo "Do you wish to install the 68020 version of PowerData?"
- Ask "A1200/A4000 owners should answer Yes: [y/n]: "
-
- If WARN
- SetEnv SourceFile PowerData.020
- Else
- SetEnv SourceFile PowerData
- EndIf
-
- Echo "Installing the PowerData executable in $TargetDir..."
-
- Copy >NIL: /$SourceFile $TargetDir
- Copy >NIL: /$SourceFile.info $TargetDir
-
- Echo "*nDone. Now close the window."
-